]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
volume: Remove some unused variables
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 23 Apr 2013 23:25:49 +0000 (19:25 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 6 Jun 2013 18:00:38 +0000 (14:00 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=701755

js/ui/status/volume.js

index f4577b44871ec115805ef0fa0b8218d210eb0361..ce5f4fdcde21c0b7e135361a69f0f73dded3736a 100644 (file)
@@ -10,8 +10,6 @@ const Signals = imports.signals;
 const PanelMenu = imports.ui.panelMenu;
 const PopupMenu = imports.ui.popupMenu;
 
-const VOLUME_ADJUSTMENT_STEP = 0.05; /* Volume adjustment step in % */
-
 const VOLUME_NOTIFY_ID = 1;
 
 // Each Gvc.MixerControl is a connection to PulseAudio,
@@ -44,7 +42,6 @@ const StreamSlider = new Lang.Class({
         this.item.addMenuItem(this._slider);
 
         this._stream = null;
-        this._shouldShow = true;
     },
 
     get stream() {